home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / wordutil.arc / TCOUNT.DOC < prev    next >
Text File  |  1985-07-29  |  7KB  |  178 lines

  1.  
  2.  
  3.  
  4.         TPRINT  (c)  1985  by  U-WARE
  5.         TCOUNT  (c)  1985  by  U-WARE
  6.  
  7.  
  8.                                User-Shareable Software
  9.                                "Sharing is what it's all about!"
  10.  
  11.  
  12.  
  13.                 NOTE:  This software is not free or public domain,
  14.                        but rather user-shareable.  This means you
  15.                        can use the software before you buy it, and
  16.                        you can share copies with your friends.
  17.                        Sharing your ideas and donations with U-WARE
  18.                        will insure the continuation of this mutually
  19.                        beneficial arrangement providing you with
  20.                        low-cost, high-quality software.
  21.  
  22.  
  23.  
  24.         INTRODUCTION
  25.         ------------
  26.  
  27.                 TPRINT is a flexible text file printing program which
  28.                 allows selected portions of your file to be listed.
  29.                 TPRINT is command-line driven and provides you with
  30.                 on-line help so that the utility can be used without
  31.                 refering back to the manual.  TPRINT also provides
  32.                 for multiple copies and single-sheet feeding.
  33.  
  34.  
  35.                 TCOUNT is a text file summary statistics program
  36.                 providing you with character, word, line, and page
  37.                 counts.  You have control over what characters are
  38.                 considered to be word delimiters.  This utility is
  39.                 a necessity for authors and other people that need
  40.                 to know how many characters or words are in a
  41.                 document.
  42.  
  43.  
  44.  
  45.         REQUIREMENTS & RESTRICTIONS
  46.         ---------------------------
  47.  
  48.                 TPRINT and TCOUNT will work on any CP/M-80 V2.2 or
  49.                 higher system with 32K of RAM memory, or an MS-DOS
  50.                 system with 64K of RAM.  TPRINT will work with any
  51.                 printer.
  52.  
  53.                 TPRINT and TCOUNT will process a text file of any size.
  54.                 These utilities will not generally work with special
  55.                 word processing formats.  However, most word processors
  56.                 provide an option to generate ASCII text output which
  57.                 can then be processed by TPRINT and TCOUNT.
  58.  
  59.                 TPRINT or TCOUNT can be terminated at any time by using
  60.                 a CTRL-C (for CP/M-80) or CTRL-Break (PC-DOS).
  61.  
  62.  
  63.  
  64.  
  65.  
  66.         TPRINT
  67.         ------
  68.  
  69.           A.  OPTIONS --
  70.  
  71.                Command Line Format:
  72.                      TPRINT /H     to display HELP file
  73.                      TPRINT filename/opt1/opt2/.../optn
  74.  
  75.                where the following options are available:
  76.                    C:n    n=# of copies to generate, default = 1, max = 9
  77.                    E      echo output to terminal screen
  78.                    F      form feed between copies
  79.                    F:c      c=form feed code, default = 12
  80.                    L:m    m=# of lines per page, default = 66, max = 32000
  81.                             m=0 means that form feeds separate pages
  82.                    P:s-e  s=starting page number, e=ending page number
  83.                             defaults:  s=1   e=32000
  84.                    S      single sheet mode -- pause after each page
  85.                             of output
  86.                    X:name extract part of input file and write to
  87.                      or     another disk file called "name" or
  88.                    X        use input filename and type = "PRI".
  89.                             Otherwise, output is to the printer device.
  90.  
  91.           B.  EXAMPLES --
  92.  
  93.                 1.   >TPRINT /H
  94.  
  95.                       Displays the on-line HELP to your terminal screen.
  96.  
  97.                 2.   >TPRINT LETTER.DOC/C:2/F/E/P:2-5
  98.  
  99.                       Print two (2) copies of pages 2 thru 5 of the
  100.                       file "LETTER.DOC" and echo to your terminal screen.
  101.                       A form feed (ASCII code 12) is inserted between
  102.                       copies, and a default page size of 66 lines/page
  103.                       is assumed.
  104.  
  105.                 3.   >TPRINT LETTER.DOC/L:0/P:3-7/S
  106.  
  107.                       Print pages 3 thru 7 of the file "LETTER.DOC"
  108.                       and pause between each page of output to allow
  109.                       single-sheet feeding.  Each page from the input
  110.                       file is separated by a form feed character.
  111.  
  112.                 4.   >TPRINT LETTER.DOC/P:3-7/L:50/X:SHORT.LET
  113.  
  114.                       Extract pages 3 thru 7 of the file "LETTER.DOC"
  115.                       and write to the output file "SHORT.LET".  Each page
  116.                       from the input file is assumed to be 50 lines.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.         TCOUNT
  124.         ------
  125.  
  126.           A.  OPTIONS --
  127.  
  128.                Command Line Format:
  129.                      TCOUNT /H     to display HELP file
  130.                      TCOUNT filename/opt1/opt2/.../optn
  131.  
  132.                where the following options are available:
  133.                    E      echo input to terminal screen
  134.                    L:m    m=# of lines per page, default = 66, max = 32000
  135.                             m=0 means that form feeds separate pages
  136.                    P:s-e  s=starting page number, e=ending page number
  137.                             defaults:  s=1   e=32000
  138.                    S      suppress or don't use the end-of-line as
  139.                             a word terminator
  140.                    T:del  del=delimiter characters which determine the
  141.                             end of words.  Blanks, end-of-line (eoln)
  142.                             and end-of-file (eof) are default word
  143.                             terminators, as well as the period ".".
  144.                             Up to ten delimiter characters may be
  145.                             specified and they must be printable
  146.                             ASCII special characters ($%^&#@, etc.).
  147.                             The "T" option must be the last one
  148.                             specified in the command line (this allows
  149.                             the "/" character to be used as a word
  150.                             delimiter).
  151.  
  152.  
  153.           B.  EXAMPLES --
  154.  
  155.                 1.   >TCOUNT /H
  156.  
  157.                       Displays the on-line HELP to your terminal screen.
  158.  
  159.                 2.   >TCOUNT LETTER.DOC/E/P:2-5
  160.  
  161.                       Generate count statistics for pages 2 thru 5 of the
  162.                       file "LETTER.DOC" and echo to your terminal screen.
  163.                       Default word delimiters and a page size of 66 lines/
  164.                       page is assumed.
  165.  
  166.                 3.   >TCOUNT LETTER.DOC/L:0/P:3-7/T::;
  167.  
  168.                       Generate count statistics for pages 3 thru 7
  169.                       of the file "LETTER.DOC".  Each page of the input
  170.                       file is separated by a form feed character.
  171.                       The characters ":" and ";" define the end of words
  172.                       (in addition to blanks, eoln, and eof).
  173. f).
  174. 
  175.  
  176.  
  177.  
  178.                         (▀